package com.item.Dao;


import com.item.POJO.Customer;

import java.util.List;

public interface CustomerDao {
    //客户列表
    public List<Customer> selectCustomerList(Customer customer);
    //客户数
    public int selectCustomerListCount(Customer customer);

    //创建客户
    public int createCustomer(Customer customer);

    //通过id查询用户
    public Customer getCustomerById(int id);
    //更新客户信息
    public int updateCustomer(Customer customer);

    //删除客户
    int deleteCustomer(int id);
}
